import request from '@/utils/request'

export function scheduleAdd(data) {
    return request({
        url: '/framework/schedule',
        method: 'post',
        data: data
    })
}

export const scheduleList = (query) => {
    return request({
        url: '/framework/schedule/list',
        method: 'get',
        params: query
    })
}

export function scheduleEdit(data) {
    return request({
        url: '/framework/schedule',
        method: 'put',
        data: data
    })
}

export const scheduleDel = (scheduleIds) => {
    return request({
        url: '/framework/schedule/' + scheduleIds,
        method: 'delete'
    })
}

